home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet internetowy / Przegladarki internetowe / Mozilla Seamonkey 1.0.5 pl / seamonkey-1.0.5.pl-PL.win32.installer.exe / VENKMAN.XPI / bin / chrome / venkman.jar / content / venkman / venkman-bindings.xml < prev    next >
Encoding:
Extensible Markup Language  |  2004-04-18  |  5.1 KB  |  132 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!--
  4.    -
  5.    - ***** BEGIN LICENSE BLOCK *****
  6.    - Version: MPL 1.1/GPL 2.0/LGPL 2.1
  7.    -
  8.    - The contents of this file are subject to the Mozilla Public License Version
  9.    - 1.1 (the "License"); you may not use this file except in compliance with
  10.    - the License. You may obtain a copy of the License at
  11.    - http://www.mozilla.org/MPL/
  12.    -
  13.    - Software distributed under the License is distributed on an "AS IS" basis,
  14.    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  15.    - for the specific language governing rights and limitations under the
  16.    - License.
  17.    -
  18.    - The Original Code is The JavaScript Debugger.
  19.    -
  20.    - The Initial Developer of the Original Code is
  21.    - Netscape Communications Corporation.
  22.    - Portions created by the Initial Developer are Copyright (C) 1998
  23.    - the Initial Developer. All Rights Reserved.
  24.    -
  25.    - Contributor(s):
  26.    -   Robert Ginda, <rginda@netscape.com>, original author
  27.    -
  28.    - Alternatively, the contents of this file may be used under the terms of
  29.    - either the GNU General Public License Version 2 or later (the "GPL"), or
  30.    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  31.    - in which case the provisions of the GPL or the LGPL are applicable instead
  32.    - of those above. If you wish to allow use of your version of this file only
  33.    - under the terms of either the GPL or the LGPL, and not to allow others to
  34.    - use your version of this file under the terms of the MPL, indicate your
  35.    - decision by deleting the provisions above and replace them with the notice
  36.    - and other provisions required by the GPL or the LGPL. If you do not delete
  37.    - the provisions above, a recipient may use your version of this file under
  38.    - the terms of any one of the MPL, the GPL or the LGPL.
  39.    -
  40.    - ***** END LICENSE BLOCK ***** -->
  41.  
  42. <!DOCTYPE window SYSTEM "chrome://venkman/locale/venkman.dtd">
  43.  
  44. <bindings xmlns="http://www.mozilla.org/xbl"
  45.           xmlns:xbl="http://www.mozilla.org/xbl"
  46.           xmlns:xul=
  47.           "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  48.  
  49.   <binding id="floatingview">
  50.     <content>
  51.       <xul:vbox id="view-frame-p" flex="1"
  52.         ondragover="console.dnd.dragOver(event, console.viewDropProxy);"
  53.         ondragexit="console.dnd.dragExit(event, console.viewDropProxy);"
  54.         ondragdrop="console.dnd.drop(event, console.viewDropProxy);">
  55.         <xul:vbox class="view-outer"
  56.           ondraggesture="console.dnd.startDrag(event, console.viewDragProxy);">
  57.           <xul:hbox id="view-title" flex="1">
  58.             <xul:image class="view-title-pop"
  59.               tooltiptext="&ViewFloat.tooltip;"
  60.               xbl:inherits="parentid=id"
  61.               onclick="console.dispatch('toggle-float', { viewId: this.getAttribute('parentid')});"/>
  62.             <xul:hbox class="view-title-grippy" flex="1"
  63.               tooltiptext="&ViewGrippy.tooltip;">
  64.               <xul:hbox flex="1" class="view-title-margin-left"/>
  65.               <xul:label id="view-title-text" xbl:inherits="value=title"
  66.                 tooltiptext="&ViewGrippy.tooltip;"
  67.                 crop="center" flex="1"/>
  68.               <xul:hbox flex="1" class="view-title-margin-right"/>
  69.             </xul:hbox>
  70.             <xul:image class="view-title-close"
  71.               xbl:inherits="parentid=id"
  72.               tooltiptext="&ViewClose.tooltip;"
  73.               onclick="console.dispatch('toggle-view', { viewId: this.getAttribute('parentid')});"/>
  74.           </xul:hbox>
  75.         </xul:vbox>
  76.         <children/>
  77.       </xul:vbox>
  78.     </content>
  79.  
  80.     <implementation>
  81.       <property name="ownerWindow" onget="return window;"/>
  82.       <property name="proxyIcon" onget="return document.getAnonymousNodes(this)[0].firstChild.firstChild.firstChild;"/>
  83.     </implementation>
  84.   </binding>
  85.  
  86.   <binding id="viewcontainer-box">
  87.     <content>
  88.       <xul:box xbl:inherits="orient=type" class="view-container" flex="1">
  89.         <children/>
  90.       </xul:box>
  91.     </content>
  92.  
  93.     <implementation>
  94.       <property name="ownerWindow" onget="return window;"/>
  95.     </implementation>
  96.   </binding>
  97.  
  98.   <binding id="viewcontainer-tab">
  99.     <content>
  100.       <xul:tabbox flex="1">
  101.         <xul:tabpanels flex="1">
  102.           <children/>
  103.         </xul:tabpanels>
  104.         <xul:tabs class="tabs-bottom">
  105.           <xul:little-tab needinit="true"/>
  106.         </xul:tabs>
  107.       </xul:tabbox>
  108.     </content>
  109.  
  110.     <implementation>
  111.       <property name="ownerWindow" onget="return window;"/>
  112.       <property name="tabs"
  113.         onget="return document.getAnonymousNodes(this)[0].childNodes[1]"/>
  114.       <property name="deck"
  115.         onget="return document.getAnonymousNodes(this)[0].childNodes[0]"/>
  116.     </implementation>
  117.   </binding>
  118.  
  119.   <binding id="little-tab">
  120.     <content>
  121.       <xul:hbox flex="1"
  122.         ondraggesture="console.dnd.startDrag(event, console.viewDragProxy);"
  123.         ondragover="console.dnd.dragOver(event, console.viewDropProxy);"
  124.         ondragdrop="console.dnd.drop(event, console.viewDropProxy);"
  125.         ondragexit="console.dnd.dragExit(event, console.viewDropProxy);">
  126.         <xul:label xbl:inherits="value=label" crop="right" flex="1"/>
  127.       </xul:hbox>
  128.     </content>
  129.   </binding>
  130.  
  131. </bindings>
  132.